import "@typespec/openapi";
import "@typespec/openapi3";

using TypeSpec.OpenAPI;

namespace Common;

/**
 * An ISO-8601 timestamp representation of entity creation date.
 */
@useRef("../../../../common/definitions/properties.yaml#/components/schemas/CreatedAt")
@friendlyName("CreatedAt")
model CreatedAt {}

/**
 * An ISO-8601 timestamp representation of entity last update date.
 */
@useRef("../../../../common/definitions/properties.yaml#/components/schemas/UpdatedAt")
@friendlyName("UpdatedAt")
model UpdatedAt {}

/**
 * An ISO-8601 timestamp representation of entity deletion date.
 */
@useRef("../../../../common/definitions/properties.yaml#/components/schemas/DeletedAt")
@friendlyName("DeletedAt")
model DeletedAt {}

/**
 * Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
 *
 * Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
 */
@useRef("../../../../common/definitions/konnect_properties.yaml#/components/schemas/Labels")
@friendlyName("Labels")
model Labels {}
